1. /* sfmsetsl.cpp by K.Tsuru */
  2. // function ID = 701 DRADIX
  3. /***********************************
  4. SFraction class
  5. It sets a value by two SLong values.
  6. ************************************/
  7. #ifndef SN_H
  8. #include "sn.h"
  9. #endif
  10. void SFraction::Set(const SLong& n, const SLong& d){
  11. num = n; den = d;
  12. reduceDone = false;
  13. RadixCheck(); DenCheck();
  14. #if REDUCE_SIZE != 0
  15. reduce(false);
  16. #else
  17. reduce();
  18. #endif
  19. }

sfmsetsl.cpp : last modifiled at 2017/10/23 10:56:02(429 bytes)
created at 2015/12/22 16:07:29
The creation time of this html file is 2017/10/23 11:28:46 (Mon Oct 23 11:28:46 2017).